package com.mingqijia.gassafety.authority.api.req.config;

import com.mingqijia.gassafety.shared.cqrs.PageableReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询行政区划请求
 * @author Damon S.
 * @version v1.0.1
 * @date 2021年04月13日 19:44
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("查询行政区划请求")
public class QueryDivisionReqDTO extends PageableReq implements Serializable {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "上级")
    private Long parentId;
}
